package com.zhuang.ssm.service;

import com.github.pagehelper.PageInfo;
import com.zhuang.ssm.pojo.Employee;

import java.util.List;

/**
 * description: EmployeeService
 * date: 2022/10/11 20:06
 * author: Zhuang
 * version: 1.0
 */
public interface EmployeeService {

    /**
     * 查询所有的员工信息
     * @return
     */
    List<Employee> getAllEmployee();

    /**
     * 获取员工的分页信息
     * @param pageNum
     * @return
     */
    PageInfo<Employee> getEmployeePage(Integer pageNum);

}
